package com.lavida.project.system.file.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lavida.project.system.file.domain.Profiles;
import com.lavida.project.system.file.mapper.ProfilesMapper;
@Service
public class ProfilesServiceImpl implements ProfilesService{
	@Autowired
	private ProfilesMapper compro;
	@Override
	public List<Profiles> selectcomfile(Profiles cProfile) {
		// TODO Auto-generated method stub
		return compro.selectcomfile(cProfile);
	}
	@Override
	public void insertcomfile(Profiles cProfile) {
		// TODO Auto-generated method stub
		compro.insertcomfile(cProfile);
	}
	@Override
	public void deletecomfile(int[] ids) {
		// TODO Auto-generated method stub
		for (int i = 0; i < ids.length; i++) {
			compro.deletecomfile(ids[i]);
		}
	}
	@Override
	public Profiles getProfiles(int id) {
		// TODO Auto-generated method stub
		return compro.getProfiles(id);
	}
	@Override
	public void updatecomfile(Profiles cProfiles) {
		// TODO Auto-generated method stub
		compro.updatecomfile(cProfiles);
	}
	
}
